package com.lbt.eduservice;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
@EnableDiscoveryClient  //服务注册
//服务调用注解
@EnableFeignClients //服务发现
@ComponentScan(basePackages = {"com.lbt"})
public class ServiceEduApplication8001 {
    public static void main(String[] args) {
        SpringApplication.run(ServiceEduApplication8001.class,args);
    }
}
